﻿@model GUI.Models.AuteurModel
@{
  
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<script src="~/Scripts/jquery-1.9.0.min.js"></script>

<link href="~/Content/AdminLTE/css/AdminLTE.css" rel="stylesheet" />


  <div class="box box-primary">
         <div class="box-header">
                   
                <h3 class="box-title">Continuer votre profile</h3>
             </div>
         
        @using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)                      

      <div class="box-body">

                                      <div class="form-group">
                                            <label for="exampleInputEmail1">PreNom</label>
                  @Html.TextBoxFor(model => model.Lastname, new { @class="form-control",@id="ln"})

                                          
                                           </div>


                                      <div class="form-group">
                                            <label for="exampleInputEmail1"> Nom</label>
                                          @Html.TextBoxFor(model => model.Name, new { @class="form-control",@id="nm"})
                                      
                                          </div>
               

                                      <div class="form-group">
                                            <label for="exampleInputEmail1">Email</label>
                                         @Html.TextBoxFor(model => model.Adressmail, new { @class="form-control",@id="am"})
                                         
                                        </div>



                                      <div class="form-group">
                                            <label for="exampleInputEmail1">Profil</label>
                                              @Html.TextBoxFor(model => model.Profil, new { @class="form-control",@id="pr"})
                                         
                                        </div>
                                               
                                       <div> @Html.HiddenFor(model=>model.UserProfileId)

                                               </div>
                                      <input type="submit"class="btn btn-primary" value="Create" />   
                                
                                        </div>
            
        }
                                    </div><!-- /.box-body -->

<div id="msgA">
  
</div>
   

<script>

    (function () {
        
        var ProfileC = {
         
            Init: function (config) {
             
                this.container = config.container;
                this.desable();
              
            },
            desable: function () {
               // var $this = this;
                console.log($('#am'));
                $('#am').prop('disabled', true);
             
               
            }

        };

        ProfileC.Init({
            container: $('.box-body'),
           
            
        });
    })();
</script>
